package com.tiger.cloud.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tiger.cloud.common.mybatis.TigerBaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Timestamp;
import java.util.Date;

/**
 * 用户日活跃数统计
 */
public class UserActiveCount extends TigerBaseEntity {
    /**
     * 活跃人数统计
     */
    private Integer activeCount;
    /**
     * 活跃统计时间
     */
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Date activeTime;

    /**
     * IOS端用户活跃数
     */
    private Integer iosActiveCount;
    /**
     * 安卓端用户活跃数
     */
    private Integer androidActiveCount;

    /**
     * H5页面用户活跃数
     */
    private Integer pageActiveCount;
    /**
     *创建时间
     */
    private Timestamp createTime;

    public Integer getActiveCount() {
        return activeCount;
    }

    public void setActiveCount(Integer activeCount) {
        this.activeCount = activeCount;
    }

    public Date getActiveTime() {
        return activeTime;
    }

    public void setActiveTime(Date activeTime) {
        this.activeTime = activeTime;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public Integer getIosActiveCount() {
        return iosActiveCount;
    }

    public void setIosActiveCount(Integer iosActiveCount) {
        this.iosActiveCount = iosActiveCount;
    }

    public Integer getAndroidActiveCount() {
        return androidActiveCount;
    }

    public void setAndroidActiveCount(Integer androidActiveCount) {
        this.androidActiveCount = androidActiveCount;
    }

    public Integer getPageActiveCount() {
        return pageActiveCount;
    }

    public void setPageActiveCount(Integer pageActiveCount) {
        this.pageActiveCount = pageActiveCount;
    }
}
